<style>
  .{{$template|escape:'html'}}_page {
    width: 900px;
    height: 5px;
  }
  .{{$template|escape:'html'}}_display {
    font-weight :bold;
    font-size :10pt;
    color :#694247;
    margin-right:3px;
  }
  .{{$template|escape:'html'}}_select {
    border-left:solid 1px #d2c4b9;
    border-top:solid 1px #d2c4b9;
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
    width: 120px;
    height: 20px;
    text-align: left;
  }
</style>

<script src="jsrequest.php?script={{$template|escape:'html'}}" type="text/javascript"></script>
<script type="text/javascript">
  <!--
    if (document.addEventListener) {
      document.addEventListener('DOMContentLoaded', init, false);
    }
    window.onload = init;

    function init() {
      if (!document.getElementById || !document.createElement || !arguments || arguments.callee._loaded) {
        return;
      }
      arguments.callee._loaded = true;
      var gui = GuiPagePaymentForth.instance('{{$template|escape:'javascript'}}');
      new HandlePagePaymentForth(gui, JSON.parse('{{$operator|escape:javascript}}'), JSON.parse('{{$now|escape:javascript}}'), JSON.parse('{{$options|escape:javascript}}'));
    }
  //-->
</script>

<div class="page_width">
<table class="{{$template|escape:'html'}}_page" cellPadding="0" cellSpacing="0" >
  <tr>
    <td align="right">
      <span class="{{$template|escape:'html'}}_display">Display :</span>
      <select class="{{$template|escape:'html'}}_select" id="{{$template|escape:'html'}}_type_select"></select>
    </td>
  </tr>
  <tr>
    <td align="left" id = "{{$template|escape:'html'}}_save_div" ></td>
  </tr>
</table>

<table class="{{$template|escape:'html'}}_page" cellPadding="0" cellSpacing="0" >
  <tr>
    <td class="{{$template|escape:'html'}}_page">
      <div id="{{$template|escape:'html'}}_page_div"></div>
    </td>
  </tr>
</table>

<table class="{{$template|escape:'html'}}_page" cellPadding="0" cellSpacing="0" >
  <tr>
    <td class="{{$template|escape:'html'}}_page">
    <div id="{{$template|escape:'html'}}_payment_div"></div>
    </td>
  </tr>
</table>
</div>
